package cc.autoapi.pucong.auto.flow.core.flow.execNode.exec.publish;

import cc.autoapi.pucong.auto.flow.core.flow.execNode.entity.log.LogNodeHandlerMsgDto;
import cc.autoapi.pucong.auto.flow.core.flow.execNode.eventBus.IPublisher;
import cc.autoapi.pucong.auto.flow.core.flow.execNode.selfenum.MsgTypeEnum;

/**
 * api 处理器
 */
public class ProcessExecLogPublish implements IPublisher<LogNodeHandlerMsgDto> {

    @Override
    public String getMessageType() {
        return MsgTypeEnum.LOG_MSG.getType();
    }

    @Override
    public void publishMessage(LogNodeHandlerMsgDto message) {
        IPublisher.super.publishMessage(message);
    }

    @Override
    public void publicMessageByAsync(LogNodeHandlerMsgDto message) {
        IPublisher.super.publicMessageByAsync(message);
    }
}
